package br.com.sgpv2.hibernate.valoresevento;

import org.hibernate.SessionFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Repository;

import br.com.sgpv2.entity.movimentacao.ValoresEvento;
import br.com.sgpv2.hibernate.infra.SGPGenericDAO;

@Repository(value="valoresEventoRepository")
public class ValoresEventoHibernateDAO extends SGPGenericDAO<ValoresEvento> implements ValoresEventoRepository{

	/**
	 * Construtor padrão.
	 * 
	 */
	@Autowired
	public ValoresEventoHibernateDAO(
			@Qualifier("sessionFactory") SessionFactory factory) {
		super(ValoresEvento.class);
		super.setSessionFactory(factory);
	}
}
